﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace TMS
{
    public partial class CreateEditEmployeeControl : UserControl
    {
        public CreateEditEmployeeControl()
        {
            InitializeComponent();
        }

        private void btnUsers_Click(object sender, EventArgs e)
        {
            this.Hide();
            Program.GetMainForm.ShowControl(ControlsEnum.USERS_CONTROL);
        }

        private void btnProducts_Click(object sender, EventArgs e)
        {
            this.Hide();
            Program.GetMainForm.ShowControl(ControlsEnum.PRODUCTS_CONTROL);
        }

        private void btnProjects_Click(object sender, EventArgs e)
        {
            this.Hide();
            Program.GetMainForm.ShowControl(ControlsEnum.PROJECTS_CONTROL);
        }
    }
}
